package cn.fb.preshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
/**
 * 跳转发控制器
 */
public class GoController {

    //去登录页面
    @RequestMapping("/go/login")
    public String gologin(){
        return "login";
    }
    //去主页面index
    @RequestMapping("/go/index")
    public String Goindex(){
        return "index";
    }
    @RequestMapping("/go/ckeckout")
    public String Gocheckout(){
        return "checkout";
    }
    //去用户页面
    @RequestMapping("/go/user/index")
    public String Gouser_index(){
        return "user_index";
    }

}
